struct · System
ValueTuple<T1, T2, T3, T4, T5>
public struct System.ValueTuple<T1, T2, T3, T4, T5> : System.IToString, System.IHashable<System.ValueTuple<T1, T2, T3, T4, T5>>
5 items in a value: Item1…Item5, which can be changed.
- Kind
- struct
- Namespace
- System
- Assembly
- System.Core
- Access
- public, record
- Source file
Tuples.ant
Type parameters
| Name | Constraints |
|---|---|
T1 | any type |
T2 | any type |
T3 | any type |
T4 | any type |
T5 | any type |
Inheritance
- Interfaces
-
IToStringIHashable<TSelf>
Constructors
constructor ValueTuple(Item1: T1, Item2: T2, Item3: T3, Item4: T4, Item5: T5)
#
Methods
method ToTuple() -> System.Tuple<T1, T2, T3, T4, T5>
#
The same items in a Tuple (a class).
method ToString() -> System.String<u8>
#
method Equals(other: System.ValueTuple<T1, T2, T3, T4, T5>) -> bool
#
Fields
Source
ValueTuple<T1, T2, T3, T4, T5> as Larva HIR, decompiled from its Larva HIR.
// 5 items in a value: Item1…Item5, which can be changed.
public struct System.ValueTuple<T1, T2, T3, T4, T5> : System.IToString, System.IHashable<System.ValueTuple<T1, T2, T3, T4, T5>>
{
field Item1: T1
field Item2: T2
field Item3: T3
field Item4: T4
field Item5: T5
constructor ValueTuple(Item1: T1, Item2: T2, Item3: T3, Item4: T4, Item5: T5)
// The same items in a Tuple (a class).
method ToTuple() -> System.Tuple<T1, T2, T3, T4, T5>
method ToString() -> System.String<u8>
method Hash() -> u64
method Equals(other: System.ValueTuple<T1, T2, T3, T4, T5>) -> bool
}